package com.nbot.server.mapper.master;

import com.nbot.server.domain.ImportantexecuteDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 
 * @author nbot
 * @email nbot@163.com
 * @date 2018-07-09 19:48:17
 */
@Mapper
public interface ImportantexecuteMapper {

	ImportantexecuteDO get(Long autoid);
	
	List<ImportantexecuteDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(ImportantexecuteDO importantexecute);
	
	int update(ImportantexecuteDO importantexecute);
	
	int remove(Long autoid);
	
	int batchRemove(Long[] autoids);

    ImportantexecuteDO selectByMoreInfo(@Param("moreInfo") String moreInfo);

	List<ImportantexecuteDO> selectConfirmInfoIsNull();

    ImportantexecuteDO selectByAnyOneProperty(@Param("autoid") Long autoid, @Param("property") String property, @Param("timestamp") String timestamp);
}
